﻿
namespace Service.src.NW.Model.Folw.File
{
    public class NodeFileParam : NodeDataSource
    {

        /// <summary>
        /// 读文件入参，
        /// 
        /// 注：copy节点也使用，作为文件来源地址等参数
        /// </summary>
        public ReadParam Read { get; set; }

        /// <summary>
        /// 写文件入参，
        /// 注：copy节点也使用，作为文件目标地址等参数
        /// </summary>
        public WriteParam Write { get; set; }

        public string EncodingFormat { get; set; }
    }

    public class ReadParam : FileCommon
    {
        public int ReadLine { get; set; }
    }

    public class WriteParam : FileCommon
    {
        //public int ReadLine { get; set; }
    }

    public class FileCommon : NodeDataSource
    {
        public NodeDataSource FileName { get; set; }

    }
}
